package com.cloudkinto.service.platform.vo.yahoo;

import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

@NoArgsConstructor
@Data
public class OrderYahooItemEntity {

    @JsonProperty("LineId")
    private Long lineId;
    @JsonProperty("ItemId")
    private String itemId;
    @JsonProperty("SubCode")
    private String subCode;
    @JsonProperty("Title")
    private String title;
    @JsonProperty("ItemOption")
    private List<ItemOptionDTO> itemOption;
    @JsonProperty("Inscription")
    private List<ItemOptionDTO> inscription;
    @JsonProperty("IsUsed")
    private String isUsed;
    @JsonProperty("IsTaxable")
    private String isTaxable;
    @JsonProperty("CategoryId")
    private String categoryId;
    @JsonProperty("AffiliateRatio")
    private String affiliateRatio;
    @JsonProperty("UnitPrice")
    private String unitPrice;
    @JsonProperty("Quantity")
    private int quantity;
    @JsonProperty("PointAvailQuantity")
    private String pointAvailQuantity;
    @JsonProperty("PointRatioY")
    private String pointRatioY;
    @JsonProperty("PointRatioSeller")
    private String pointRatioSeller;
    @JsonProperty("UnitGetPoint")
    private String unitGetPoint;
    @JsonProperty("IsGetPointFix")
    private String isGetPointFix;
    @JsonProperty("GetPointFixDate")
    private String getPointFixDate;
    @JsonProperty("PriceType")
    private String priceType;
    @JsonProperty("LeadTimeText")
    private String LeadTimeText;
    @JsonProperty("LeadTimeStart")
    private String LeadTimeStart;
    @NoArgsConstructor
    @Data
    public static class ItemOptionDTO {
        @JsonProperty("Index")
        private String index;
        @JsonProperty("Name")
        private String name;
        @JsonProperty("Value")
        private String value;
    }

}
